﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/jui.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    门店
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="layout" class="noNavTab">
        <div id="navTab">
            <h2 class="contentTitle">
                门店</h2>
            <%
                string url = "/sysManage/list_3";
                using (Html.BeginAddForm(Database.Default, "Sys_outlets", url))
                {   
            %>
            <div class="pageFormContent nowrap">
                
                <dl>
                    <dt>门店全称：</dt>
                    <dd>
                        <%:Html.TextBox("t0_fullName", "", new { @class = "required textInput", size = 50, maxlength = "100" })%>
                    </dd>
                </dl>
                <dl>
                    <dt>门店简称：</dt>
                    <dd>
                        <%:Html.TextBox("t0_Name", "", new { @class = "required textInput", size = 50, maxlength = "100" })%>
                    </dd>
                </dl>
                <dl>
                    <dt>经营地址：</dt>
                    <dd>
                        <%:Html.TextBox("t0_address", "", new { @class = "required textInput", size = 50, maxlength = "100" })%>
                    </dd>
                </dl>
                <dl>
                    <dt>所属公司：</dt>
                    <dd>
                        <select class="combox " name="t0_pid">
                                <%Html.RenderPartial("~/Views/Shared/selectControl.ascx", sysManageBLL.get_fCompany()); %>
                        </select>
                    </dd>
                </dl>
                <dl>
                    <dt>所在地：</dt>
                    <dd>
                        <%:Html.TextBox("t0_area", "", new { @class = "required textInput", maxlength = "25" })%>
                    </dd>
                </dl>
                <dl>
                    <dt>门店状态：</dt>
                    <dd>
                        <label>
                        <input id="Radio3" name='t0_state' value='0' checked="checked" type="radio" />暂停
                        </label>
                        <label><input id="Radio4" name='t0_state' value='1' type="radio" />正常</label>
                    </dd>
                </dl>
                <dl>
                    <dt>门店类型：</dt>
                    <dd>
                        <label>
                        <input id="Radio5" name='t0_type' value='0' checked="checked" type="radio" />暂停
                        </label>
                        <label><input id="Radio6" name='t0_type' value='1' type="radio" />正常</label>
                    </dd>
                </dl>
                <dl>
                    <dt>门店编码：</dt>
                    <dd>
                        <%:Html.TextBox("t0_Code", "", new { @class = "required textInput", maxlength = "25" })%>
                    </dd>
                </dl>
                <dl>
                    <dt>门店经理：</dt>
                    <dd>
                        <%:Html.TextBox("t0_principal", "", new { @class = "required textInput", maxlength = "25" })%>
                    </dd>
                </dl>
                <dl>
                    <dt>负责人手机：</dt>
                    <dd>
                        <%:Html.TextBox("t0_MobileNo", "", new { @class = "required textInput", maxlength = "50" })%>
                    </dd>
                </dl>
                <dl>
                    <dt>邮政编码：</dt>
                    <dd>
                        <%:Html.TextBox("t0_postcode", "", new { @class = "required textInput", maxlength = "25" })%>
                    </dd>
                </dl>
                

                <dl>
                    <dt>门店电话：</dt>
                    <dd>区号-号码-分机号</dd>
                    <dd>
                        <%:Html.TextBox("t0_TelArea", "", new { @class = "digits  textInput", maxlength = "25" })%>
                        <%:Html.TextBox("t0_Tel", "", new { @class = " textInput", maxlength = "50" })%>
                        <%:Html.TextBox("t0_TelExt", "", new { @class = "digits  textInput", maxlength = "25" })%>
                    </dd>
                </dl>
                
                <dl>
                    <dt>门店传真：</dt>
                    <dd>区号-号码-分机号</dd>
                    <dd>
                        <%:Html.TextBox("t0_FaxArea", "", new { @class = "digits  textInput", maxlength = "25" })%>
                        <%:Html.TextBox("t0_Fax", "", new { @class = " textInput", maxlength = "50" })%>
                        <%:Html.TextBox("t0_FaxExt", "", new { @class = "digits  textInput", maxlength = "25" })%>
                    </dd>
                </dl>
                
                <dl>
                    <dt>门店介绍：</dt>
                    <dd>
                        <%:Html.TextArea("t0_intro", new { rows = "5", cols = "40", maxlength = "250" })%>
                    </dd>
                </dl>
                <dl>
                    <dt>门店照片：</dt>
                    <dd>
                        <a class="button" href="#" id="btnUpload"><span>上传图片</span></a>
                            <%:Html.Hidden("t0_logo", "", new { @class = " textInput" })%>
                            <span id="showFileName"></span>
                    </dd>
                </dl>
                <dl>
                    <dt>门店网址：</dt>
                    <dd>
                        <%:Html.TextBox("t0_Url", "", new { @class = " textInput", size = 50, maxlength = "50" })%>
                    </dd>
                </dl>
                <dl>
                    <dt>门店地标：</dt>
                    <dd>
                        
                    </dd>
                </dl>
                <dl>
                    <dt>&nbsp</dt>
                    <dd>
                        <div class="buttonActive">
                                <div class="buttonContent">
                                    <button type="submit">
                                        添加</button></div>
                            </div>
                    </dd>
                    <dd><a class="button" href='<%:url %>'><span>返回</span></a></dd>
                </dl>
            </div>
            <%} %>
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">
    <link href="../../content/jui-normal.css" rel="stylesheet" type="text/css" />
    <link href="/content/colorbox.css" rel="stylesheet" type="text/css" />
    <script src="/scripts/jquery.colorbox.js" type="text/javascript"></script>
    <script type="text/javascript" src="/scripts/jquery.autocomplete.min.js"></script>
    <script src="../../../Scripts/common.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            createUpload('btnUpload', 't0_logo', 'Dest_Img_Max_1', function () { showUploadImg($('#t0_logo'), $('#showFileName'), '') });
        });
    </script>
</asp:Content>
